#include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int main()
{
	int n;
	scanf("%d",&n);
	int a[n];
	for(int i = 0;i<n;i++) scanf("%d",&a[i]);
	sort(a,a+n);
	for(int i = 0;i<n;i++)
	{
		if(!i) printf("%d",a[i]);
		else printf(" %d",a[i]);
	}
	printf("\n");
} 
